package com.ikaros.emnus;

import lombok.Getter;

/**
 * Created by Ikaros on 2017/9/27.
 */
@Getter
public enum LoginEnum{
    ERROR(0,"ERROR"),
    SUCCESS(1,"SUCCESS"),
    NEED_LOGIN(10,"NEED_LOGIN"),
    ILLEGAL_ARGUMENT(2,"ILLEGAL_ARGUMENT");

    private Integer code;
    private String msg;

    LoginEnum(Integer code,String msg){
        this.code = code;
        this.msg = msg;
    }
}
